package com.youlu.campus.entity;

import com.youlu.campus.base.base.EntityBase;
import lombok.Getter;
import lombok.Setter;
import org.springframework.data.annotation.Transient;
import org.springframework.data.mongodb.core.index.Indexed;
import org.springframework.data.mongodb.core.mapping.Document;

/**
 * 活动文创配置
 */
@Getter
@Setter
@Document(collection = "activity_culture_creative_config")
public class ActivityCultureCreativeConfig extends EntityBase {
    @Indexed
    private String activityId;
    @Indexed
    private String itemInfoId;
    /**
     * 存一个副本作为未来排序用.
     */
    private Integer like =0;

    private String title;
    @Transient
    private String itemImageUrl;
    @Transient
    private Integer price=0;
}
